package com.reformer.commons.constant;

public enum SignType {
    MD5("MD5", "MD5"),
    DSA("DSA", "SHA1withDSA"),
    DSA_DOTNET("DSA_DOTNET", "SHA1withDSA"),
    RSA_SHA1("RSA", "SHA1WithRSA"),
    RSA_SHA256("RSA", "SHA256WithRSA"),
    RSA_MD5("RSA", "MD5WithRSA");

    private final String name;
    private final String sigAlg;

    SignType(String name, String sigAlg) {
        this.name = name;
        this.sigAlg = sigAlg;
    }

    public String getName() {
        return this.name;
    }

    public String getSigAlg() {
        return this.sigAlg;
    }
}